UIManager won't send the release signal if the cursor has moved more than 10 point between the press and release call.
Added a LuaEntity State::remove