Resized window to prevent cut-off of inner borders