app_server: Update and use the fill rule in all cases.

 * It was previously not used for gradient rendering.
 * It was not updated when the DrawState was set.
 * Not actually tested, yet.