Transform: fix bug in hovering (I was misled by the whole bunch of if(!inverted))