Fix bglayer water crash in 16 and 32bit without remap.
Authored by: utunnels 2011-08-31
Parent: [r3400]
Child: [r3402]