bubble fields moved to prototype
mousestate fields moved to prototype