Fix first position when resize