Fix Window#get_window_rect to prevent it from out of range values when a window’s position is negative
Reorganized source to avoid namespace conflicts