Fix emscripten compilation
Improve RectTouchComponent