When gfx.sprite.update() end of update no graphics show

Hello!

I'm having a strange issue with none of the grpahics context rects or polygons on the screen buffer are showing if I leave gfx.sprite.update() till the end of playdate.update(). I'm having to add it first to make anything work but means I cann't put my graphic elements behind any sprites.

Draw them to the Sprite Background (which is just a big sprite that gets drawn first). See the Basic Game code in the Inside Playdate Lua docs.

https://sdk.play.date/2.5.0/Inside%20Playdate.html#basic-playdate-game

The docs cover this at

Drawing images alongside sprites
https://sdk.play.date/2.5.0/Inside%20Playdate.html#_drawing_images_alongside_sprites