Make animated style and position hint work together.