fixed layer::tiles_from_to(...)
constants::clear_image_pixels(...) bounds checking