Fixed toScreen bugs