Fixed resizing error

Fixed error where visual assets could disappear if the user moved the
mouse fast enough