Implemented mouse picking