Implemented rudiementary mouse grab event