Align sun movement with refresh rate