Fixed visible setting of rasterlayer