graphics: fix wrong colors being pushed to buffer
graphics: clear framebuffer 0 when flipping

Without this clear, blur effects appeared on some conditions.