Fixed palette window from jumping incorrectly