Added 'preventShowingBottomBlankSpace' bool to prevent showing bottom blank space.