fixed bug in sceneimagemask