Fix scrollwheel and codemirror max-height interactions