Apply css positionbefore image loads

Otherwise we see the movement of the background image to 50% 50%