Fixed a bug in the interface drawing with KineticJS.