Revert "Fixed mouse managers and insets"

This reverts commit 7dfb508776d56f48d8999168c73dcac5308cf16d.
Revert "Revert "Fixed mouse managers and insets""

This reverts commit aa16def7367552e6439042a06feb0260762a78a3.