fixed wasted bitmasks bug where we would include colors and extra layers