added forcing pointer-style global animations to stay inside window area