Fix centre when loaded not working.