isDisposed() function added

For checking if the current object has been marked as disposed.
int() X, Y values

Make the final X,Y values int in the final transformation matrix, so we
dont end up with display objects on half pixels.