Discarding tiles fix.