Fixing rect position