Rendering improvements.
Fixing pointer events on firefox.