Added function that centers level preview