using raster for gl device
fix top-y overflow for raster