Fix problem where object creation fills flash