Canvas is now centred and resizes correctly