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