Improve flash

- Using 2 draws and a mask, the flash effect is much more accurate to
what I intended it to look like instead of just rescaling the colors.
- Performance is improved by it not filtering when the timer is 0
- Further performance improvement, new buffered image mask is only
cloned on when the image changes