Update AppKit.php

Fixed render function