Fix local window offset