fixes for pointerevents and mouseinput