Bugfix for sprites and objects modules