Added check for previous value before repainting shape
Cleaned up text rendering a bit
Fixed bug in mouse contraint to check for physics spatials