[#11] Fix flickering
Flickering fixed, but having issues with keyboard input.