Don't set position to NaN on page load