Setting the frame correctly in loadView