Fixes for taking snapshot with a shared context, and quadrilateral geometry which was not setting UVs correctly
Some bug fixes for the mouse manager