Recalculate image centring on window resize (minified)