Made sure applyDelta is called in all cases
Cleaned up patch rendering logic
Merge pull request #1256 from rubenvereecken/patch_fix

Patch fix: applyDelta now always called