[[ StackScale ]] Ensure stack size remains consistent when moving the window or changing the scaleFactor