optimalize mouse cursor