Fix space bar scroll problem