bugfixes

- casts to silence warnings
- set color to white in editor render pass to fix minimap