Moved particle drawing before UI, created more errors