Input fix - use 'while' for pollEvent instead of 'if' - cleans up the event queue