Fixed page turning freeze bug