Added mouse capture