Fix an initial position bug when the "position" style is "fixed".